#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
struct stu
{
	char name[20];
	int age;
};
int com_stu_by_age(const void* p1, const void* p2);
int com_stu_by_name(const void* p1, const void* p2);
void printf_arr(struct stu* arr, int sz);
void bubble_sort(void* base, size_t num, size_t size, int (*compar)(void* p1, void* p2));